/** Copyright (c) 2015—2017 Zerone.Co.Ltd. All rights reserved. */
package com.zerone.facade.merchant.order;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.acooly.core.common.facade.OrderBase;
import com.acooly.core.utils.ToString;

import lombok.Getter;
import lombok.Setter;

/** @author glassescat <a href="">零一零一科技</a> */
@Setter
@Getter
public class MerchantQueryOrder extends OrderBase {
	
	/** 商户ID */
	@NotBlank(message = "[商户ID]不能为空")
	@Size(max = 20, message = "[商户ID]最大长度为{max}")
	private String merchantId;
	
	@Override
	public String toString() {
		return ToString.toString(this);
	}
}
